package builders;

import force.GlobalForce;
import force.Viscosity;
import java.util.LinkedList;
import main.Simulation;


/**
 * Builds viscosity forces.
 * 
 * @author Paul
 * @author Lance
 */
public class ViscosityBuilder extends GlobalForceBuilder {

    @Override
    public void build(Simulation sim, LinkedList<Double> properties) {
        double scaleValue = properties.poll();

        GlobalForce force = new Viscosity(scaleValue);
        addForces(sim, force);
    }
}
